import { DisplayObject, Point } from "pixi.js";
import { Transform } from "../geom/Transform";
import { BoneController } from "./BoneController";

export interface ItransformableItem {
    updateMatrixByLocalTransform(viewportScale?:number): void;
    updateSubItems(): void;
    isContainPoint(point: Point): boolean;
    get transform(): Transform;
    get level(): number;
    selected(state: boolean): void;
    get name(): string;
    notifyUI(): void;
    get parent(): BoneController | null;
    get view(): DisplayObject;
    hoverEnter(): void;
    hoverLeave(): void;
};